package com.qys.livesMall.open.modal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2023-07-20
 */
@Getter
@Setter
@TableName("h2_app_open_push")
@Schema(name = "AppOpenPush", description = "")
public class H2AppOpenPush implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "通知类型")
    private String type;

    @Schema(description = "通知开关 0 通知 1 不通知")
    private Integer state;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "是否删除")
    @TableLogic
    private Byte deleted;
}
